package com.stx.system;

public class Student {

    private String stuNo;
    private String stuName;
    private String stuSex;
    private int stuAge;
    private String stuAddr;
    private double stuScore;
    private String stuHobby;
    private String stuPhone;

    public Student() {
    }

    public Student(String stuNo, String stuName, String stuSex, int stuAge, String stuAddr, double stuScore, String stuHobby, String stuPhone) {
        this.stuNo = stuNo;
        this.stuName = stuName;
        this.stuSex = stuSex;
        this.stuAge = stuAge;
        this.stuAddr = stuAddr;
        this.stuScore = stuScore;
        this.stuHobby = stuHobby;
        this.stuPhone = stuPhone;
    }

    public String getStuAddr() {
        return stuAddr;
    }


    public void setStuAddr(String stuAddr) {
        this.stuAddr = stuAddr;
    }

    public double getStuScore() {
        return stuScore;
    }

    public void setStuScore(double stuScore) {
        this.stuScore = stuScore;
    }

    public String getStuHobby() {
        return stuHobby;
    }

    public void setStuHobby(String stuHobby) {
        this.stuHobby = stuHobby;
    }

    public String getStuPhone() {
        return stuPhone;
    }

    public void setStuPhone(String stuPhone) {
        this.stuPhone = stuPhone;
    }

    public String getStuNo() {
        return stuNo;
    }

    public void setStuNo(String stuNo) {
        this.stuNo = stuNo;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuSex() {
        return stuSex;
    }

    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }

    public int getStuAge() {
        return stuAge;
    }

    public void setStuAge(int stuAge) {
        this.stuAge = stuAge;
    }

    @Override
    public String toString() {
        return
                "学生学号: " + stuNo + " ," +
                        "学生姓名: " + stuName + " ," +
                        "学生性别: " + stuSex + " ," +
                        "学生年龄: " + stuAge + " ," +
                        "学生籍贯: " + stuAddr + " ," +
                        "学生成绩: " + stuScore + " ," +
                        "学生爱好: " + stuHobby + " ," +
                        "学生电话: " + stuPhone;
    }
}
